package com.example.scaffold_demo.mvp.di.user.bean;

import java.io.Serializable;
import java.util.List;

public class PersonKLineBean implements Serializable{

    /**
     * stock_price : 30
     * change_rate : 50.000
     * list : [{"stock_id":"900","price":"20.000","time":"2018-07-24 22:10:00"},{"stock_id":"900","price":"20.000","time":"2018-07-24 23:10:00"},{"stock_id":"900","price":"20.000","time":"2018-07-25 00:10:00"},{"stock_id":"900","price":"20.000","time":"2018-07-25 01:10:00"}]
     */

    private float stock_price;
    private String change_rate;
    private List<ListBean> list;

    public float getStock_price() {
        return stock_price;
    }

    public void setStock_price(float stock_price) {
        this.stock_price = stock_price;
    }

    public String getChange_rate() {
        return change_rate;
    }

    public void setChange_rate(String change_rate) {
        this.change_rate = change_rate;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * stock_id : 900
         * price : 20.000
         * time : 2018-07-24 22:10:00
         */

        private String stock_id;
        private String price;
        private long time;

        public String getStock_id() {
            return stock_id;
        }

        public void setStock_id(String stock_id) {
            this.stock_id = stock_id;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        @Override
        public String toString() {
            return "ListBean{" +
                    "stock_id='" + stock_id + '\'' +
                    ", price='" + price + '\'' +
                    ", time=" + time +
                    '}';
        }
    }


}
